﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Borton.Beans
{
    class Reszleg:Bean
    {
        public Reszleg()
        {
            tableName = "Reszleg";
            fields = new Field[] {
                new Field("id", FieldType.NUMBER),
                new Field("nev", FieldType.STRING),
                new Identifier("borton_id", typeof(Borton))
            };
            referringBeans = new Bean[] {
                new MultiIdentifier_("reszleg_id", "or_id", typeof(OrReszleg)),
                new Cella()
            };
        }

        public override object Clone()
        {
            return new Reszleg();
        }
    }
}
